package com.woniu.postbar.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.entity.PageData;
import com.woniu.postbar.entity.dto.PostCollectDTO;
import com.woniu.postbar.entity.vo.PostCollectVO;
import com.woniu.postbar.pojo.PostCollect;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wu
 * @since 2023-05-20
 */
public interface IPostCollectService extends IService<PostCollect> {


    Boolean increaseCollect(PostCollect collect);

    Boolean deleteCollect(Integer id);

    PageData<List<PostCollectVO>> searchPage(Integer currentPage, Integer pageSize, PostCollectDTO collectDTO);
}
